import url from 'url';
const urlString = 'https://www.google.com/search?q=hello+world';
const ur10bj = new URL(urlString);
const params = new URLSearchParams(ur10bj.search);
params.append('limit', '5');
params.delete('limit');
console.log(params);